package com.atmc.mapper;

import com.atmc.bean.Supplier;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

@Mapper
@Repository
public interface SupplierMapper {
    List<Supplier> selectAll();
    Supplier selectOne(@Param("supplier_name")String supplier_name);
    int deleteOne(@Param("supplier_id")int id);
    int updateOne(Supplier supplier);
    int insertOne(Supplier supplier);

}
